f947010924ce5cff2213bc87032b1a20bd12108e,opennms-alarms/syslog-northbounder/src/main/java/org/opennms/netmgt/alarmd/northbounder/syslog/SyslogNorthbounderManager.java,SyslogNorthbounderManager,afterPropertiesSet,#,54
Before Change
SyslogNorthbounderConfig config = m_configDao.getConfig();
SyslogNorthbounder northbounder = new SyslogNorthbounder(config);
northbounder.setNodeDao(m_nodeDao);
northbounder.afterPropertiesSet();
After Change
SyslogNorthbounderConfig config = m_configDao.getConfig();
List<SyslogDestination> destinations = config.getDestinations();
for (SyslogDestination syslogDestination : destinations) {
SyslogNorthbounder nbi = new SyslogNorthbounder(config, syslogDestination);
nbi.setNodeDao(m_nodeDao);
nbi.afterPropertiesSet();
m_registration = m_serviceRegistry.register(nbi, Northbounder.class);
}